package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.complete.entity.enumerate.FanIndex;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author ll
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FanMonitorParam implements Trans<FanMonitorParam, CompleteEntity.FanMonitorParam> {

    /**
     * 是否启用风扇监控, 默认false关闭上报
     */
    private Boolean enableFan;

    /**
     * 风扇数组，默认空
     */
    private List<FanIndex> fanIndex;
}


